﻿using ConsoleApp1.Model.Entity;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    public class Product : DbContext
    {
        public Product() : base("Data Source=.;Initial Catalog=Product;Integrated Security=True")
        {

        }
        public DbSet<Market> Markets { get; set; }
        public DbSet<Model.Entity.Product> Products { get; set; }
        public DbSet<Stock> Stocks { get; set; }
    }
}
